<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:84:"C:\Program\www\newxiangxin\public/../application/admin\view\user\usersystemlist.html";i:1533174207;s:68:"C:\Program\www\newxiangxin\application\admin\view\Public\public.html";i:1532083269;}*/ ?>
﻿<!DOCTYPE html>
<html>
<head>
<title>会员列表</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="/static/admin/mo/style/adminStyle.css" rel="stylesheet" type="text/css" />
<script src="/static/admin/mo/js/jquery.js"></script>
<script src="/static/admin/mo/js/public.js"></script>

</head>
<body>
 <div class="wrap">
  <div class="page-title">
    <span class="modular fl"><i class="user"></i><em>系统通知列表</em></span>
    <!-- <span class="modular fr"><a href="/adminuser/add" class="pt-link-btn">+添加管理员</a></span> -->
  </div>
  <table class="list-style Interlaced">
   <tr>
    <th>用户编号</th>
    <th>加入时间</th>
    <th>发送内容</th>

   </tr>
   <?php if(is_array($data) || $data instanceof \think\Collection || $data instanceof \think\Paginator): if( count($data)==0 ) : echo "" ;else: foreach($data as $key=>$row): ?>
   <tr>
    <td class="center"><?php echo $row['user_id']; ?></td>
    <td class="center"><?php echo date("Y-m-d H:i:s",$row['addtime']); ?></td>
    <td><?php echo $row['content']; ?></td>
   </tr>
   <?php endforeach; endif; else: echo "" ;endif; ?>
  </table>
  <style>
  .turnPage li{
    display: inline-block;
  }
.turnPage li span{
    
    
    padding: 5px 10px;
    cursor: pointer;
    background: #96aecd;
    color: #fff;
}
.turnPage .active span{
background: #1F6FD6;
}
  </style>
   <div class="turnPage center fr">
  
    <?php echo $data->appends($request)->render(); ?>
    
    </div>
 
 </div>
</body>
</html>
<script>
  function del(ob){
      var ss=confirm("确定删除?");
      if(ss){
        var id=ob.id;
        $.post("/adminuser/delete",{id:id},function(data){
            if(data){
              alert('已删除');
            }else{
              alert('删除失败');
            }
        });
      }

  }
</script>